package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 检查考评规则表 视图
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@ApiModel(value = "EvaluationRules 视图", description = "检查考评规则表 视图")
public class EvaluationRulesVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * uuid
     */
    @ApiModelProperty(value = "uuid")
    @Excel(name = "uuid", orderNum = "0")
    private String ruleId;

    /**
     * 父uuid
     */
    @ApiModelProperty(value = "父uuid")
    @Excel(name = "父uuid", orderNum = "0")
    private String rulePid;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    @Excel(name = "内容", orderNum = "0")
    private String content;

    /**
     * 大类总分
     */
    @ApiModelProperty(value = "大类总分")
    @Excel(name = "大类总分", orderNum = "0")
    private Double itemScore;

    /**
     * 应得分
     */
    @ApiModelProperty(value = "应得分")
    @Excel(name = "应得分", orderNum = "0")
    private Double totalScore;

    /**
     * 扣分
     */
    @ApiModelProperty(value = "扣分")
    @Excel(name = "扣分", orderNum = "0")
    private Double dockScore;

    /**
     * 单位
     */
    @ApiModelProperty(value = "单位")
    @Excel(name = "单位", orderNum = "0")
    private String unit;

    /**
     * 层级
     */
    @ApiModelProperty(value = "层级")
    @Excel(name = "层级", orderNum = "0")
    private Integer layer;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    @Excel(name = "排序", orderNum = "0")
    private Integer orderNum;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @Excel(name = "修改人", orderNum = "0")
    private Integer dbUpdateId;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @Excel(name = "修改时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbUpdateDate;

    /**
     * 单位数值
     */
    @ApiModelProperty(value = "单位数值")
    @Excel(name = "单位数值", orderNum = "0")
    private Double unitValue;


}
